package com.supermali.entity.map.background.dynamic;

import com.supermali.creater.MapCreater;
import com.supermali.creater.img.ImgHelper;
import com.supermali.creater.img.ImgKey;
import com.supermali.creater.img.ImgLoader;

import java.awt.image.BufferedImage;

/**
 * @project runner
 * @Date 2021/3/18
 * @Auth yangrui
 * 旗杆球
 **/
public class FlagCircle extends DynamicBackGroundMapAbstract {

    public FlagCircle(Double x, Double y, MapCreater mapCreater) {
        super(x, y, mapCreater);
    }

    @Override
    public void init() {
        ImgHelper imgHelper = ImgLoader.getImgHelper(ImgKey.Background.FLAG_CIRCLE);
        BufferedImage select = imgHelper.select(0);
        this.setBufferedImage(select);
    }
}
